package youcaihuaoa.weetop.com.vm.main.item

import android.os.Bundle
import androidx.databinding.ObservableField
import cn.wandersnail.ble.ConnectionState
import cn.wandersnail.ble.EasyBLE
import com.blankj.utilcode.util.StringUtils
import youcaihuaoa.weetop.com.R
import youcaihuaoa.weetop.com.vm.main.MyFragmentViewModel
import com.robot.base.configs.AppConstants
import com.robot.base.model.DeviceBindBean
import com.robot.base.util.arouter.ARouterUtil
import me.goldze.mvvmhabit.base.ItemViewModel
import me.goldze.mvvmhabit.binding.command.BindingAction
import me.goldze.mvvmhabit.binding.command.BindingCommand

class ItemMyDeviceViewModel(viewModel: MyFragmentViewModel, bean: DeviceBindBean.DataBean) :
    ItemViewModel<MyFragmentViewModel>(viewModel) {

    var name = ObservableField<String>()
    var state = ObservableField<String>()
    var imgUrl = ObservableField<String>()
    var address = ObservableField<String>()
    var first = ObservableField<Boolean>()


    val toDetailClick = BindingCommand<Any>(BindingAction {

    })
}